package view.dialog.impl;

import java.awt.Color;

import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextArea;

import view.dialog.asbtract.AbstractDialog;
import view.dialog.i.DialogI;
import media.MediaConst;
import media.MediaUtil;
import model.Job;
import core.Const;

public class JobInfoDialog extends AbstractDialog<Job> implements DialogI{
	/**
	 *
	 */
	private static final long serialVersionUID = 1477702118246972864L;
	private JLabel lblName;
	private JLabel lblNameDisp;
	private JLabel lblContent;
	private JTextArea txtaContentDisp;
	private JLabel lblStart;
	private JLabel lblStartDisp;
	private JPanel panel;


	public JobInfoDialog(JFrame parent) {
		super(parent, true);

		this.panel =  new JPanel(null);
		this.setSize(MediaConst.DETAIL_DIALOG_WIDTH, MediaConst.DETAIL_DIALOG_HEIGHT);
		this.setIconImage(MediaUtil.getImage(MediaConst.CLOCK_ICON));
		this.setTitle(Const.DETAIL_TITLE + "  " + Const.VERSION);
		this.setDefaultCloseOperation(HIDE_ON_CLOSE);
		this.setLocationRelativeTo(parent);
		//this.setUndecorated(true);
		//this.getRootPane().setOpaque(true);
		//this.setOpacity(0.8f);
		//this.setVisible(true);
	}

	@Override
	protected void initView() {
		// TODO Auto-generated method stub

	}

	@Override
	public void initData(Job t) {
		// TODO Auto-generated method stub

	}

}
